package org.vectrics.batch;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import org.vectrics.common.util.DateSync;


/**
 * @author MMoore
 */
public class BatchInfo {
	private Long id = null;
	private String batchTypeCode = "not.given";
	private String description = null;
	private String className = null;
	private Date dateStarted = DateSync.getCurrentTime();
	private Date dateEnded = null;
	private String status = null;
	private Set logs = new HashSet();
	
	
	/**
	 * @return Returns the batchTypeCode.
	 */
	public String getBatchTypeCode() {
		return batchTypeCode;
	}
	/**
	 * @param batchTypeCode The batchTypeCode to set.
	 */
	public void setBatchTypeCode(String batchTypeCode) {
		this.batchTypeCode = batchTypeCode;
	}
	/**
	 * @return Returns the className.
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * @param className The className to set.
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	/**
	 * @return Returns the dateEnded.
	 */
	public Date getDateEnded() {
		return dateEnded;
	}
	/**
	 * @param dateEnded The dateEnded to set.
	 */
	public void setDateEnded(Date dateEnded) {
		this.dateEnded = dateEnded;
	}
	/**
	 * @return Returns the dateStarted.
	 */
	public Date getDateStarted() {
		return dateStarted;
	}
	/**
	 * @param dateStarted The dateStarted to set.
	 */
	public void setDateStarted(Date dateStarted) {
		this.dateStarted = dateStarted;
	}
	/**
	 * @return Returns the description.
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * @param description The description to set.
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * @return Returns the id.
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the status.
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * @param status The status to set.
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * @return Returns the logs.
	 */
	public Set getLogs() {
		return logs;
	}
	/**
	 * @param logs The logs to set.
	 */
	public void setLogs(Set logs) {
		this.logs = logs;
	}
	
	
}
